// user. js
const ModuleUser = {
 state: {
	 code:'',
     userInfo:null
 },
 mutations: { 
   updateCode(state,code){
    state.code = code;
	// console.log('updateCodeMutation',state.code);
   }, 
   updateUserInfo(state,userInfo){
    state.userInfo = userInfo;
	// console.log('updateUserInfoMutation',typeof(state.userInfo));
   }, 
 },
};

export default ModuleUser;
